import { defineStore } from "pinia"
const mainStore = defineStore('mainStore',{
  state:()=>{
    return {
      userId: '551225141'
    }
  },
  actions: {
    setUserInfo(){
      this.userId = '555566'
    }
  },
  getters: {
    user(state){
      return state.userId
    }
  }
})
export default mainStore;
